package com.zn.utils;

/**
 * @author 周嗣荣
 * @ClassName ResultEnum
 * @phone 16673431223
 */
public enum ResultEnum {

    HTTP_CODE_200(200,"ok"),
    HTTP_CODE_500(500,"fail");

    private Integer code;
    private String message;

    ResultEnum(Integer code, String message) {
        this.code = code;
        this.message = message;

    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
